<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="/static/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="/static/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="/static/ie.css" media="screen, projection" />
	<![endif]-->

	<link rel="stylesheet" type="text/css" href="/static/main.css" />
	<link rel="stylesheet" type="text/css" href="/static/form.css" />
	<script src="/static/lightbox/js/jquery-1.7.2.min.js"></script>
	<script src="/static/lightbox/js/lightbox.js"></script>
	<link href="/static/lightbox/css/lightbox.css" rel="stylesheet" />

	<title>{{site}} - {% block title %}{%endblock%}</title>
</head>

<body>
<div class="header_outside">


<center>
<div id="header">
		<div id="logo">
		<div id='loginbox'>
		{%if user.is_authenticated%}
			You're logged in as user:<br>
			<b>{{user.username}} / <a href="/accounts/logout">logout</a></b>
		{%else%}
			You are not logged in:<br>
			<b><a href="/accounts/login/?next=/">login</a></b>
		{%endif%} 
		
		</div>
		<div id="menubox">
			<table width=100%>
			<tr><td><a href="/">Home</a> | <a href="/profile/?id={{user.id}}">Profile</a> | <a href="/accounts/password_reset/">Reset Password</a></td>
			<td style="width: 150px;">
			<div id='mainmenu'>

			</td>
			</tr>
			</table>
			
		</div>
		</div><!-- logo -->
</div><!-- header -->

</center>
</div><!-- header_outside -->
<div class="container" id="page">
	
		
	

	
			<!-- breadcrumbs -->
	
<!-- Content -->
    <div id="content" class="{% block coltype %}colM{% endblock %}">
        {% block pretitle %}{% endblock %}
        {% block content_title %}{% if title %}<div class='detail-header'>{{ title }}</div>{% endif %}{% endblock %}
        {% block content %}
        {% block object-tools %}{% endblock %}
        {{ content }}
        {% endblock %}
        {% block sidebar %}{% endblock %}
        <br class="clear" />
    </div>
    <!-- END Content -->

</div>
<div id="footer">
<center>
<div style="width:970px; border: 1px solid; horizontal-align: left;">
		xasdasdas<form method="get" action="/search" id="search">
			<input name="q" type="text" size="40" placeholder="Search..." />
			</form>
</div>
</center>	
	</div><!-- footer -->
</body>
</html>